﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ProgrammingSchool.Infrastructure.Constants
{
    public static class ModelConstants
    {
        public const string EmailRegExpValidation = @"\s*[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\s*";
        public const string EmailRequiredMessage = "Email required";
        public const string EmailNotValid = "Email not valid";

        public const string PasswordRequiredMessage = "Password required";
        public const string PasswordNotConfimed = "Passwords do not match";

        public const string MessageRequered = "Message required";
        public const string PhoneRequered = "Phone required";
        public const string NameRequered = "Name required";
    }
}